// 经营信息管理
import request from '@/plugins/request';

// 经营信息-列表
export function busiInfoGetPage (data) {
  return request({
    url: '/user/pc/sys/busiInfo/getPage',
    method: 'post',
    data
  })
}
// 经营信息-新增
export function busiInfoAddData (data) {
  return request({
    url: '/user/pc/sys/busiInfo/addData',
    method: 'post',
    data
  })
}
// 经营信息-编辑
export function busiInfoUpdateData (data) {
  return request({
    url: '/user/pc/sys/busiInfo/updateData',
    method: 'post',
    data
  })
}
// 经营信息-详情
export function busiInfoGetData (data) {
  return request({
    url: '/user/pc/sys/busiInfo/getData',
    method: 'post',
    data
  })
}
// 经营信息-产业链关联
export function busiInfoProfessionRelevanceList (data) {
  return request({
    url: '/user/pc/sys/busiInfo/professionRelevanceList',
    method: 'post',
    data
  })
}
// 经营信息-历史列表
export function busiInfoGetChangeData (data) {
  return request({
    url: '/user/pc/sys/busiInfo/getChangeData',
    method: 'post',
    data
  })
}
// 经营信息-历史详情
export function busiInfoGetHistoryData (data) {
  return request({
    url: '/user/pc/sys/busiInfo/getHistoryData',
    method: 'post',
    data
  })
}
// 根据产业标记获取公司信息
export function getCompanySelectByCompanyServiceTypeId (data) {
  return request({
    url: '/global/base/getCompanySelectByCompanyServiceTypeId',
    method: 'post',
    data
  })
}
// 获取组织范围
export function busiInfoGetRootData (data) {
  return request({
    url: '/user/pc/sys/busiInfo/getRootData',
    method: 'post',
    data
  })
}

// 经营信息接收-列表
export function busInfoNotificationPageList (data) {
  return request({
    url: '/user/pc/busInfoNotification/pageList',
    method: 'post',
    data
  })
}
// 撤销
export function busiInfoCancelData (data) {
  return request({
    url: '/user/pc/sys/busiInfo/cancelData',
    method: 'post',
    data
  })
}

// 经营信息接收-详情
export function busInfoNotificationGetDetail (data) {
  return request({
    url: '/user/pc/busInfoNotification/getDetail',
    method: 'post',
    data
  })
}

// 经营信息接收-拒绝
export function busInfoNotificationRejection (data) {
  return request({
    url: '/user/pc/busInfoNotification/rejection',
    method: 'post',
    data
  })
}

// 经营信息接收-接收
export function busInfoNotificationReceive (data) {
  return request({
    url: '/user/pc/busInfoNotification/receive',
    method: 'post',
    data
  })
}


// 经营信息接收-指派经营人员
export function busInfoNotificationAppointPersonnel (data) {
  return request({
    url: '/user/pc/busInfoNotification/appointPersonnel',
    method: 'post',
    data
  })
}

// 经营信息跟踪-列表
export function busInfoTrackPageList (data) {
  return request({
    url: '/user/pc/busInfoTrack/pageList',
    method: 'post',
    data
  })
}
// 经营信息跟踪-详情
export function busInfoTrackGetDetail (data) {
  return request({
    url: '/user/pc/busInfoTrack/getDetail',
    method: 'post',
    data
  })
}
// 经营信息跟踪-反馈表单
export function busInfoTrackFillFeedback (data) {
  return request({
    url: '/user/pc/busInfoTrack/fillFeedback',
    method: 'post',
    data
  })
}
// 经营信息一张图- 按项目查
export function busiInfoMapGetByPage (data) {
  return request({
    url: '/user/pc/busiInfoMap/getBusiInfoPage',
    method: 'post',
    data
  })
}
// 经营信息一张图- 按公司查
export function busiInfoMapGetBusInfoTraceCountByCompany (data) {
  return request({
    url: '/user/pc/busiInfoMap/getBusInfoTraceCountByCompany',
    method: 'post',
    data
  })
}
// 经营信息一张图- 查某个公司下的项目
export function busiInfoMapGetBusiInfoTrackByPage (data) {
  return request({
    url: '/user/pc/busiInfoMap/getBusiInfoTrackByPage',
    method: 'post',
    data
  })
}
// 经营预警列表
export function busiInfoForewarningpPageList (data) {
  return request({
    url: '/user/pc/busiInfoForewarning/pageList',
    method: 'post',
    data
  })
}
// 经营预警- 接收详情
export function getNotReceiveDetail (data) {
  return request({
    url: '/user/pc/busiInfoForewarning/getNotReceiveDetail',
    method: 'post',
    data
  })
}
// 经营预警-反馈详情
export function getNotFeedbackDetail (data) {
  return request({
    url: '/user/pc/busiInfoForewarning/getNotFeedbackDetail',
    method: 'post',
    data
  })
}
// 经营预警-发送短信
export function sendForewarningSms (data) {
  return request({
    url: '/user/pc/busiInfoForewarning/sendForewarningSms',
    method: 'post',
    data
  })
}
// 公司经营信息查询
export function busiInfoGetCompanyPage (data) {
  return request({
    url: '/user/pc/sys/busiInfo/getCompanyPage',
    method: 'post',
    data
  })
}
// 公司经营信息查询
export function busiInfoGetChangePage (data) {
  return request({
    url: '/user/pc/sys/busiInfo/getChangePage',
    method: 'post',
    data
  })
}

// 删除经营信息
export function deleteDataMyBusiness (data) {
  return request({
    url: '/user/pc/sys/busiInfo/deleteData',
    method: 'post',
    data
  })
}
